package lad02.tset12;

public class Test12 {public static void main(String[] args) {
    Rectangle rectangle = new Rectangle();
    rectangle.length = 10;
    rectangle.hight = 5;
    System.out.println(rectangle.getArea());
    System.out.println(rectangle.getPerimeter());

    Circle circle = new Circle();
    circle.radius = 2.3;
    System.out.println(circle.getArea());
    System.out.println(circle.getPerimeter());
}
}
